package com.intellagric.mapper;

import com.intellagric.pojo.TraceProduceBatch;
import com.intellagric.pojo.TraceProduceBatchExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TraceProduceBatchMapper {
    long countByExample(TraceProduceBatchExample example);

    int deleteByExample(TraceProduceBatchExample example);

    int deleteByPrimaryKey(String id);

    int insert(TraceProduceBatch record);

    int insertSelective(TraceProduceBatch record);

    List<TraceProduceBatch> selectByExample(TraceProduceBatchExample example);

    TraceProduceBatch selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") TraceProduceBatch record, @Param("example") TraceProduceBatchExample example);

    int updateByExample(@Param("record") TraceProduceBatch record, @Param("example") TraceProduceBatchExample example);

    int updateByPrimaryKeySelective(TraceProduceBatch record);

    int updateByPrimaryKey(TraceProduceBatch record);
}